import request from "@/request";
const VITE_NEED_DECRYPT = import.meta.env.VITE_NEED_DECRYPT;
/**
 * 获取意外险成本列表
 *
 * @param data 请求参数对象
 * @returns 返回请求结果
 */
export function accidentInsuranceCost(data) {
  return request({
    url: "/operation/accidentInsuranceCost/detailList",
    method: "post",
    data,
    needDecrypt: VITE_NEED_DECRYPT,
  });
}

/**
 * 获取报销成本列表
 *
 * @param data 请求参数对象
 * @returns 返回请求结果
 */
export function reimbursementCost(data) {
  return request({
    url: "/operation/reimbursementCost/detailList",
    method: "post",
    data,
    needDecrypt: VITE_NEED_DECRYPT,
  });
}

/**
 * 劳务成本列表
 *
 * @param data 请求参数对象
 * @returns 返回请求结果
 */
export function laborCostList(data) {
  return request({
    url: "/operation/laborCost/detailList",
    method: "post",
    data,
    needDecrypt: VITE_NEED_DECRYPT,
  });
}

/**
 * 社保成本列表
 *
 * @param data 请求参数对象
 * @returns 返回请求结果
 */
export function socialSecurityCost(data) {
  return request({
    url: "/operation/socialSecurityCost/detailList",
    method: "post",
    data,
    needDecrypt: VITE_NEED_DECRYPT,
  });
}


/**
 * 零星技术成本列表
 *
 * @param data 请求参数对象
 * @returns 返回请求结果
 */
export function smallExtraCost(data) {
  return request({
    url: "/operation/smallExtraCost/detailList",
    method: "post",
    data,
    needDecrypt: VITE_NEED_DECRYPT,
  });
}

/**
 * 塔工成本列表
 *
 * @param data 请求参数对象
 * @returns 返回请求结果
 */
export function towerCost(data) {
  return request({
    url: "/operation/towerCost/detailList",
    method: "post",
    data,
    needDecrypt: VITE_NEED_DECRYPT,
  });
}

/**
 * 车辆成本列表
 *
 * @param data 请求参数对象
 * @returns 返回请求结果
 */

export function carCost(data) {
  return request({
    url: "/operation/carCost/detailList",
    method: "post",
    data,
    needDecrypt: VITE_NEED_DECRYPT,
  });
}

/**
 * 获取用户列表
 *
 * @param data 请求参数对象
 * @returns 返回请求结果
 */
export function userList(data) {
  return request({
    url: "/hmresource/user/selectUser",
    method: "post",
    data,
    needDecrypt: VITE_NEED_DECRYPT,
  });
}